export function debounce(duration: number, cb: Function) {
	let timer: any = null
	return function (this: any) {
		clearTimeout(timer)
		timer = setTimeout(() => {
			console.log('真正执行')
			cb.apply(this, arguments)
		}, duration)
	}
}
